﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.core.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.widget.js")" type="text/javascript"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.price.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.product.js")" type="text/javascript"></script>
</head>

<body>

    <div id = "header">
        <div id="title"><h1>Shop</h1></div>

        <div id="logindisplay">
            @Html.Partial("_LogOnPartial")
        </div>
        <div id="registerdisplay">
            @Html.Partial("_RegisterPartial")
        </div>
    </div>

    <div id = "menu">
        <ul>
            <li>@Html.ActionLink("Products", "Index", "Products")</li>
            @if (User.Identity.IsAuthenticated)
            {
                <li>@Html.ActionLink("Orders", "Index", "Orders")</li>
            }
        </ul>
    </div>

    <div id="content">
            @RenderBody()
    </div>
</body>
</html>


        
        
